package ${package}.config.oauth;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * oauth配置获取
 *
 * @author ${author}
 * @date ${date}
 */
@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "oauth.config")
public class OauthProperties {

    private String clientId;

    private String resourceId;

    private String secret;

    private String grantType;

    private Integer accessTokenValiditySeconds;

    private Integer refreshTokenValiditySeconds;

    private String scopes;

    private String jwtKey;


}
